{{template "admin/public/head.html" .}}
<section>
	<aside>
		{{template "admin/public/nav.html" .}}
	</aside>
	<article>
		<div class="top-title">
			<dl>
				<dt><h1>{{.title}}</h1></dt>
			</dl>
		</div>
		<div class="content">
			<div class="release">
				<dl>
					<dt><i class="iconfont">&#xe649;</i> <b>{{.title}}说明</b><br>
					</dt>
				</dl>
			</div>

			<table class="table">
				<thead><th>用户头像</th><th>团购信息</th><th>参加信息</th></thead>
				{{range .info}}
				<tr id="{{.id}}">
					<td class="center"><a href="/admin/member/content?id={{.uid}}"><img src="{{.pathname}}" class="img"></a></td>
					<td>
						用户昵称：<a href="/admin/member/content?id={{.uid}}">{{.monicker}}</a><br>
						团购标题：{{.title}}<br>
						团购数量：<b>&yen;{{.jnum}}</b><br>
						订单价格：{{.money}}<br>
					</td>
					<td>
						订单编号：<a class="tz" href="/admin/order/content?id={{.id}}">{{.ordernum}}</a><br>
						状态：{{if eq .status "2"}}待发货{{else if eq .status "3"}}待收货{{else if eq .status "4"}}待评价{{else if eq .status "5"}}订单完成{{end}}<br>
						参加时间：{{.addtime}}<br>
						支付时间：{{.paytime}}<br>
					</td>
				</tr>
				{{end}}
				{{if ne .paginator.totalpages 1}}
					<tr>
						<td  colspan="5">
							<div class="paging">
								{{if ne .paginator.currpage 1}}
								<a href="{{$.url}}page={{.paginator.firstpage}}">首页</a>
								<a href="{{$.url}}page={{.paginator.prevpage}}">&lt;&lt;</a>
								{{else}}
								<a class="disable">首页</a>
								<a class="disable">&lt;&lt;</a>
								{{end}}
								{{range $index,$page := .paginator.pages}}
								{{if eq $.paginator.currpage $page}} 
								<a class="no">{{$page}}</a>
								{{else}}
								<a href="{{$.url}}page={{$page}}">{{$page}}</a>
								{{end}}
								{{end}}
								{{if eq .paginator.currpage .paginator.totalpages}}
								<a class="disable">&gt;&gt;</a>
								<a class="disable">尾页</a>
								{{else}}
								<a href="{{$.url}}page={{.paginator.nextpage}}">&gt;&gt;</a>
								<a href="{{$.url}}page={{.paginator.totalpages}}">尾页</a>
								{{end}}
							</div>
						</td>
					</tr>
				{{end}}
			</table>


		</div>
	</article>
</section>

<footer><!-- 系统监控内容 --></footer>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/jquery.jedate.min.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/toast.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/uppic.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/xcConfirm.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/app.js"></script>
</body>
</html>
